﻿@model KRM.Core.tblKRMPhoto
@if (Model != null)
{
    <tr>
        <td style="text-align: center">
            <div class="btn-group">
                <a href="#" data-toggle="dropdown" class="btn dropdown-toggle"><i class="icon-cog"></i><span class="caret"></span></a>
                <ul class="dropdown-menu dropdowm-right text-left">
                    <li>
                        <a href="javascript:;" onclick=" deletephoto(@Model.PhotoID,@(ViewBag.disputeid??0)) " >Delete Image</a>
                    </li>
                    <li>
                        <a href="javascript:;" onclick=" editimage(@Model.PhotoID, @(ViewBag.disputeid??0), 'description') " >Edit Image Description</a>
                    </li>
                    <li>
                        <a href="javascript:;" onclick=" editimage(@Model.PhotoID, @(ViewBag.disputeid??0), 'name') " >Edit Image Name</a>
                    </li>
                </ul>
            </div>
        </td>
        <td>
            <img src="/rdm/getfile?path=@Model.Path" style="width: 80px; height: 60px" alt="@Model.Name" /></td>
        <td>@Model.Name</td>
        <td>@Model.Description</td>
    </tr>
}
